package org.bigjava.novelplatform.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
public class BrowsingVo {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 书籍的id
     */
    private Integer bookId;

    /**
     * 时间,自动插入
     */
    private Date browsingTime;

    /**
     * 浏览类型
     0书籍。便于扩展
     */
    private Integer browsingType;

    /**
     * 某个表的id
     */
    private Integer browsingId;

    /**
     * 逻辑删除
     0未删除；1删除
     */
    private Integer deleteState;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
